/**
 * Copyright (c) 2023, iDearHanYu Co., Ltd.
 *
 * SPDX-License-Identifier: 
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-09-21     chao         first version
 */

#include <lvgl.h>
#include "volumio_music.h"

static lv_obj_t *setting_main_cont;

/* private functions */
static void _key_event_cb(lv_event_t * e);

lv_obj_t *volumio_music_setting_create(void)
{

    return setting_main_cont;
}

void volumio_music_setting_destroy(void)
{

}

static void _key_event_cb(lv_event_t * e)
{
    lv_key_t key;
    if (lv_event_get_code(e) == LV_EVENT_KEY)
    {
        key = lv_indev_get_key(lv_indev_get_act());
        switch (key)
        {
            case LV_KEY_LEFT:
                break;

            case LV_KEY_RIGHT:
                break;
            
            case LV_KEY_ENTER:
                break;
                
            case LV_KEY_HOME:
                break;
                
            case LV_KEY_BACKSPACE:
                break;
                
            case LV_USER_KEY_SOURCE:
                break;
                
            case LV_USER_KEY_PREV:
                break;
                
            case LV_USER_KEY_NEXT:
                break;
                
            case LV_USER_KEY_PLAY_PAUSE:
                break;
        }
    }
}



